<?php include_partial('global/formLabelsJS', array('form' => $form)) ?>
<?php $objDef = new objectDef('dossier');?>

<form id="myForm" action="<?php print url_for('dossiers/SubmitPhase1'); ?>" method="post" enctype="multipart/form-data" style="margin: 0; padding: 0;">
   <fieldset>
        <legend><?php echo $sf_user->getFlash('legendTitle') ?></legend>
		<?php include_partial('formSelectDemandeur', array('form' => $form, 'demandeur' => $demandeur, 'objDef' => $objDef)) ?>
	
	    <div class="buttons">
	          <a href="<?php print url_for('dossiers/annuler'); ?>"><img title="Cancel" src="/images/formulaires/annuler.png"></img></a>
	          <input id= "submitButton" name="Submit" title="<?php echo __('Apply')?>" type="image" src="/images/formulaires/valider.png">
	    </div>
   </fieldset>          
</form>

<div id ="participants_notifierForm" class="editItemForm" style="display:none"></div>
<div id ="addparticipant_notifierTarget" class="editItemForm" style="display:none"></div>

<?php use_javascript('/js/json_parse.js') ?>
<?php include_partial('jsSelectDemandeurClient', array('form' => $form, 'demandeur' => $demandeur, 'objDef' => $objDef)) ?>
<?php include_partial('customValSelectDemandeur', array('form' => $form, 'demandeur' => $demandeur, 'objDef' => $objDef)) ?>